XR API 2.4
Loading...
Searching...
No Matches
xr_extension_api_wrapper.h
Go to the documentation of this file.
1
20#pragma once
21
23
24XR_DEFINE_HANDLE(SonyOzSessionHandle);
25
26namespace sony::oz::xr_runtime {
37 SonyOzResult GetPerformancePriority(SonyOzPlatformId platform_id, SonyOzSessionHandle session, bool* enable);
38
49 SonyOzResult GetWallmountMode(SonyOzPlatformId platform_id, SonyOzSessionHandle session, bool* enable);
50
61 SonyOzResult SetWallmountMode(SonyOzPlatformId platform_id, SonyOzSessionHandle session, const bool enable);
62}
Definition load_library_utility.h:34
SonyOzResult GetWallmountMode(SonyOzPlatformId platform_id, SonyOzSessionHandle session, bool *enable)
Get wallmount mode is enabled or not.
SonyOzResult GetPerformancePriority(SonyOzPlatformId platform_id, SonyOzSessionHandle session, bool *enable)
Get PerformancePriority mode is enabled or not.
SonyOzResult SetWallmountMode(SonyOzPlatformId platform_id, SonyOzSessionHandle session, const bool enable)
Set wallmount mode is enabled or not.
#define XR_DEFINE_HANDLE(object)
Definition xr_api_defs.h:48
const char * SonyOzPlatformId
ID indicating XR platform. It will always be "Spatial Reality Display".
Definition xr_api_defs.h:93
SonyOzResult
Result of XR Runtime API.
Definition xr_api_defs.h:62